@import "theme";
div {
  box-sizing: border-box;
}
.container {
  display: flex;
  width: 7.5rem;
  flex-direction: column;
  align-items: center;
  .top-bar {
    background: @app-theme-color;
    height: 0.88rem;
    display: flex;
    width: 100%;
    align-items: center;
    flex-direction: row;
    .title {
      color: white;
      font-size: 18px;
      flex: 1;
      text-align: center;
    }
    .icon-setting {
      font-size: .54rem;
      color: white;
      position: absolute;
      right: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      width: .88rem;
      height: .88rem;
      &:active {
        background: @app-active-theme-color;
      }

    }
    border-bottom: solid 1px @app-theme-color;
    box-shadow: #f0f0f0 2px 2px 2px;
  }
  .head {
    background: #ffffff;
    height: 2.4rem;
    width: 100%;
    display: flex;
    align-items: center;
    flex-direction: row;

    .head-pic {
      width: 1.4rem;
      height: 1.4rem;
      margin-left: 0.32rem;
      border-radius: 50%;
      background: #ffffff;
      border: solid 2px white;

    }
    .info {
      margin-left: 0.32rem;
      display: flex;
      flex-direction: column;
      .nickname {
        color: gray;
        margin-top: 0;
        margin-bottom: .24rem;
        font-size: 18px;

      }
      .job {
        color: @app-theme-color;
        margin-top: 0;
        margin-bottom: 0;
        font-size: 14px;
      }
    }

  }
  .grid {
    margin-top: .2rem;
    background: white;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    .grid-item {
      width: 1.875rem;
      height: 1.875rem;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      border-right: solid 1px @app-border-color;
      border-bottom: solid 1px @app-border-color;
      &:active {
        background: darken(#fff,5%);
      }
      &:nth-child(4){
        border-right: none;
      }
      .oa-icon {
        font-size: .72rem;
        &.red {
          color: red;
        }
      }
      .icon-label {
        font-size: 14px;
        margin-top: 0.16rem;
        color: #888888;
      }

    }
  }
}
